import request from '@/utils/request'

// 查询职位分页
export function getRecruitmentPositionPage(data) {
	return request({
		url: '/hospital/recruitment-position/page',
		'method': 'GET',
		data: data
	})
}

// 查询职位详情
export function getRecruitmentPositionGet(data) {
	return request({
		url: '/hospital/recruitment-position/get',
		'method': 'GET',
		data: data
	})
}

// 投递简历
export function createRecruitmentResumeDelivery(data) {
	return request({
		url: '/hospital/recruitment-resume-delivery/create',
		'method': 'POST',
		data: data
	})
}

// 查询用户简历
export function getRecruitmentResume(data) {
	return request({
		url: '/hospital/recruitment-resume/get',
		'method': 'GET',
		data: data
	})
}

// 查询教育经历
export function getRecruitmentEducation(data) {
	return request({
		url: '/hospital/recruitment-resume/recruitment-education/list-by-member-user-id',
		'method': 'GET',
		data: data
	})
}

// 查询工作经历
export function getRecruitmentJob(data) {
	return request({
		url: '/hospital/recruitment-resume/recruitment-job/list-by-member-user-id',
		'method': 'GET',
		data: data
	})
}

// 创建用户简历
export function createOrUpdateRecruitmentResume(data) {
	return request({
		url: '/hospital/recruitment-resume/createOrUpdate',
		'method': 'POST',
		data: data
	})
}

// 更新用户简历
export function updateRecruitmentResume(data) {
	return request({
		url: '/hospital/recruitment-resume/update',
		'method': 'PUT',
		data: data
	})
}

// 查询投递记录分页
export function getRecruitmentResumeDeliveryPage(data) {
	return request({
		url: '/hospital/recruitment-resume-delivery/page',
		'method': 'GET',
		data: data
	})
}

// 查询面试安排分页
export function getRecruitmentInterviewPage(data) {
	return request({
		url: '/hospital/recruitment-interview/page',
		'method': 'GET',
		data: data
	})
}